package com.ruoyi.system.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.ImUserGroup;
import com.ruoyi.system.domain.dto.ImUserGroupDeleteDto;
import com.ruoyi.system.domain.dto.ImUserGroupDto;
import com.ruoyi.system.domain.dto.ImUserGroupUpdateDto;
import com.ruoyi.system.domain.vo.ImUserGroupDetailVo;
import com.ruoyi.system.domain.vo.ImUserGroupUserVo;

/**
 * 群组Service接口
 * 
 * @author ruoyi
 * @date 2024-04-02
 */
public interface IImUserGroupService extends IService<ImUserGroup>
{

    void addGroup(ImUserGroupDto groupDto);

    TableDataInfo groupList(String groupName);

    ImUserGroupDetailVo groupDetail(Long id);

    void updateGroup(ImUserGroupUpdateDto updateDto);

    TableDataInfo userList(Long groupId);

    void delete(Long id);

    void deleteUser(ImUserGroupDeleteDto deleteDto);
}
